<!-- 查看明细modal -->
<div class="modal-dialog modal-lg" id="view-detail">
  <div class="modal-content">
    <div class="modal-header">
      <button type="button" class="close" (click)="hideModal()">
        <span aria-hidden="true">&times;</span>
      </button>
      <h4 class="modal-title">批次明细</h4>
    </div>

    <div class="modal-body">
      <div class="row" style="margin-bottom:10px">
        <div class="col-md-12">
          <div class="box box-solid">
            <div class="box-header with-border">
              <h3 class="box-title">基本信息</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <div class="row">
                <div class="col-md-2">批次号：</div>
                <div class="col-md-2"> {{receivedItem.nBatchNo}}</div>
                <div class="col-md-2">发起时间：</div>
                <div class="col-md-2">
                  {{receivedItem.sLaunchDate}}
                </div>
                <div class="col-md-2">当前流程：</div>
                <div class="col-md-2">{{receivedItem.sFlowStepZh}}</div>
              </div>
            </div>

            <div class="box box-solid">
              <div class="box-header with-border">
                <h3 class="box-title">流程信息</h3>
              </div>
              <div class="box-body">
                <table class="table table-bordefont-color table-hover">
                  <tr>
                    <th>序号</th>
                    <th>操作流程</th>
                    <th>操作人</th>
                    <th>处理状态</th>
                    <th>操作日期</th>
                    <th>备注</th>
                  </tr>
                  <tr *ngFor="let item of flowInfoData;let index = index">
                    <td>
                      {{index+1}}
                    </td>
                    <td class="short_name" [attr.title]="item.sFlowStepZh">{{item.sFlowStepZh}}</td>
                    <td class="short_name" [attr.title]="item.sOpr">{{item.sOprZh}}</td>
                    <td class="short_name" [attr.title]="item.sOprStateZh">{{item.sOprStateZh}}</td>
                    <td class="short_name" [attr.title]="item.dOprDate">{{item.sOprDate}}</td>
                    <td class="short_name" [attr.title]="item.sOprMark">{{item.sOprMark}}</td>
                  </tr>
                </table>
              </div>
            </div>

            <div class="box box-solid">
              <div class="box-header with-border">
                <h3 class="box-title">条目信息</h3>
              </div>
              <div class="box-body">
                <div class="ibt-fixed-table-container">
                  <div class="table-scroll-content">
                    <table id="route-table" class="table table-bordefont-color table-hover table-striped table-keep-line" style="margin-top:unset !important;">
                      <thead>
                        <tr role="row">
                          <th>
                            <div class="cell" style="width:50px !important">
                              <div class="checkbox checkbox-primary">
                                <input type="checkbox" id="isCheckedAll" [(ngModel)]="isCheckedAll" name="isCheckedAll" (ngModelChange)="checkedAll()">
                                <label>
                                </label>
                              </div>
                            </div>
                          </th>
                          <th>
                            <div class="cell">条目编号</div>
                          </th>
                          <th>
                            <div class="cell">批次号</div>
                          </th>
                          <th>
                            <div class="cell">条目复核意见</div>
                          </th>
                          <th>
                            <div class="cell">当前流程</div>
                          </th>
                          <th>
                            <div class="cell">处理状态</div>
                          </th>
                          <th>
                            <div class="cell">条目顺序</div>
                          </th>
                          <th>
                            是否有效
                          </th>
                          <th>
                            <div class="cell">文件名称</div>
                          </th>

                          <th>
                            <div class="cell">属性</div>
                          </th>
                          <th>
                            <div class="cell">条款出处</div>
                          </th>
                          <th>
                            <div class="cell">适用基金类别</div>
                          </th>
                          <th>
                            <div class="cell">适用基金组</div>
                          </th>
                          <th>
                            <div class="cell">内容</div>
                          </th>
                          <th>
                            <div class="cell">指标释义</div>
                          </th>
                          <th>
                            <div class="cell">条目规定阀值</div>
                          </th>
                          <th>
                            <div class="cell">事中控制方法</div>
                          </th>
                          <th>
                            <div class="cell">事中系统控制阀值</div>
                          </th>
                          <th>
                            <div class="cell">是否事中系统可控</div>
                          </th>
                          <th>
                            <div class="cell">系统风控编号</div>
                          </th>
                          <th>
                            <div class="cell">事中系统备注</div>
                          </th>
                          <th>
                            <div class="cell">事后监控方法</div>
                          </th>
                          <th>
                            <div class="cell">监控编号</div>
                          </th>
                          <th>
                            <div class="cell">控制说明</div>
                          </th>
                          <th>
                            <div class="cell">补偿控制</div>
                          </th>
                          <th>
                            <div class="cell">风险等级</div>
                          </th>
                          <!-- <th>
                                <div class="cell">监察部备注1</div>
                              </th> -->
                          <th>
                            <div class="cell">监察部备注2</div>
                          </th>
                          <th>
                            <div class="cell">场外系统阀值(新股,定增,转债)</div>
                          </th>
                          <th>
                            <div class="cell">场外系统阀值(公增)</div>
                          </th>
                          <th>
                            <div class="cell">是否场外系统可控</div>
                          </th>
                          <th>
                            <div class="cell">场外风控编号</div>
                          </th>
                          <th>
                            <div class="cell">场外系统备注</div>
                          </th>
                          <!-- <th>
                                <div class="cell">录入人</div>
                              </th>
                              <th>
                                <div class="cell">录入时间</div>
                              </th>
                              <th>
                                <div class="cell">条目复核</div>
                              </th>
                              <th>
                                <div class="cell">场外系统备注</div>
                              </th> -->



                        </tr>
                      </thead>
                      <tbody *ngIf="viewDetailType == '2'">
                        <tr *ngFor="let item of listData;let index = index;">
                          <td>
                            <div class="cell" style="width:50px !important" id="check-cancel{{index}}">
                              <div class="checkbox checkbox-primary">
                                <input type="checkbox" name="checkbox1" [(ngModel)]="item.isChecked" (ngModelChange)="ctrlCheckAll()">
                                <label>
                                </label>
                              </div>
                            </div>
                          </td>
                          <td [attr.title]="item.nNjId">
                            <div>
                              {{item.nNjId}}
                            </div>
                          </td>
                          <td [attr.title]="item.nBatchNo">
                            <div>
                              {{item.nBatchNo}}
                            </div>
                          </td>
                          <td [attr.title]="item.sOprMark">
                            <div class="cell">
                              <input class="input-width" name="sOprMark" maxlength="2000" [(ngModel)]="listData[index].sOprMark">
                            </div>
                          </td>
                          <td [attr.title]="item.sFlowStepZh">
                            <div>
                              {{item.sFlowStepZh}}
                            </div>
                          </td>

                          <td [attr.title]="item.sOprStateZh">
                            <div>
                              {{item.sOprStateZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.nSortNo">
                            <div class="font-color" id="nSortNo">
                              {{item.nSortNo}}
                            </div>
                          </td>
                          <td [attr.title]="item.sValidZh">
                            <div class="font-color" id="sValidZh">
                              {{item.sValidZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.sFileName">
                            <div class="font-color" id="sFileName">
                              {{item.sFileName}}
                            </div>
                          </td>
                          <td [attr.title]="item.sItemTypeZh">
                            <div class="font-color" id="sItemTypeZh">
                              {{item.sItemTypeZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.sFileSourceZh">
                            <div class="font-color" id="sFileSourceZh">
                              {{item.sFileSourceZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.sFundTypeZh">
                            <div class="font-color" id="sFundTypeZh">
                              {{item.sFundTypeZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.sFundGroupdsZh">
                            <div class="font-color" id="sFundGroupdsZh">
                              {{item.sFundGroupdsZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.f1">
                            <div class="font-color" id="f1">
                              {{item.f1}}
                            </div>
                          </td>
                          <td [attr.title]="item.f2">
                            <div class="font-color" id="f2">
                              {{item.f2}}
                            </div>
                          </td>
                          <td [attr.title]="item.f3">
                            <div class="font-color" id="f3">
                              {{item.f3}}
                            </div>
                          </td>
                          <td [attr.title]="item.f4Zh">
                            <div class="font-color" id="f4">
                              {{item.f4Zh}}
                            </div>
                          </td>
                          <td [attr.title]="item.f5">
                            <div class="font-color" id="f5">
                              {{item.f5}}
                            </div>
                          </td>
                          <td [attr.title]="item.f6Zh">
                            <div class="font-color" id="f6">
                              {{item.f6Zh}}
                            </div>
                          </td>
                          <td [attr.title]="item.f7">
                            <div class="font-color" id="f7">
                              {{item.f7}}
                            </div>
                          </td>
                          <td [attr.title]="item.f8">
                            <div class="font-color" id="f8">
                              {{item.f8}}
                            </div>
                          </td>
                          <td [attr.title]="item.f9Zh">
                            <div class="font-color" id="f9">
                              {{item.f9Zh}}
                            </div>
                          </td>
                          <td [attr.title]="item.f10">
                            <div class="font-color" id="f11">
                              {{item.f10}}
                            </div>
                          </td>
                          <td [attr.title]="item.f11">
                            <div class="font-color" id="f12">
                              {{item.f11}}
                            </div>
                          </td>
                          <td [attr.title]="item.f12">
                            <div class="font-color" id="f13">
                              {{item.f12}}
                            </div>
                          </td>
                          <td [attr.title]="item.f13Zh">
                            <div class="font-color" id="f14">
                              {{item.f13Zh}}
                            </div>
                          </td>
                          <!-- <td>
                                <div>
                                  {{item.f14}}
                                </div>
                              </td> -->
                          <td [attr.title]="item.f15">
                            <div class="font-color" id="f15">
                              {{item.f15}}
                            </div>
                          </td>
                          <td [attr.title]="item.f16">
                            <div class="font-color" id="f16">
                              {{item.f16}}
                            </div>
                          </td>
                          <td [attr.title]="item.f17">
                            <div class="font-color" id="f17">
                              {{item.f17}}
                            </div>
                          </td>
                          <td [attr.title]="item.f18Zh">
                            <div class="font-color" id="f18">
                              {{item.f18Zh}}
                            </div>
                          </td>
                          <td [attr.title]="item.f19">
                            <div class="font-color" id="f19">
                              {{item.f19}}
                            </div>
                          </td>
                          <td [attr.title]="item.f20">
                            <div class="font-color" id="f20">
                              {{item.f20}}
                            </div>
                          </td>

                        </tr>
                      </tbody>
                      <tbody *ngIf="viewDetailType == '1'">
                        <tr *ngFor="let item of listData;let index = index;" (dblclick)="loadFlowInfo(item.nBatchNo,item.nNjId)">
                          <td>
                            <div class="cell" style="width:50px !important" id="check{{index}}">
                              <div class="checkbox checkbox-primary">
                                <input type="checkbox" name="checkbox1" [(ngModel)]="item.isChecked" (ngModelChange)="ctrlCheckAll()">
                                <label>
                                </label>
                              </div>
                            </div>
                          </td>
                          <td [attr.title]="item.nNjId">
                            <div class="cell">
                              {{item.nNjId}}
                            </div>
                          </td>
                          <td [attr.title]="item.nBatchNo">
                            <div class="cell">
                              {{item.nBatchNo}}
                            </div>
                          </td>
                          <td [attr.title]="item.sOprMark">
                            <div class="cell">
                              {{item.sOprMark}}
                            </div>
                          </td>
                          <td [attr.title]="item.sFlowStepZh">
                            <div class="cell">
                              {{item.sFlowStepZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.sOprStateZh">
                            <div class="cell">
                              {{item.sOprStateZh}}
                            </div>
                          </td>
                          <td [attr.title]="item.nSortNo">
                            <div class="cell">
                              {{item.nSortNo}}
                            </div>
                          </td>
                          <td [attr.title]="item.sValidZh">
                            <div class="cell font-color" id="sValidZh">
                              {{item.sValidZh}}
                            </div>
                          </td>
                          <td [attr.title]="listData[index].sFileName">
                            <div class="cell">
                              <div id="sFileName"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="sFileName" maxlength="100"
                                [(ngModel)]="listData[index].sFileName" (ngModelChange)="inputChange(index,listData[index].sFileName,'sFileName')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].sItemTypeZh">
                            <div class="cell">
                              <div id="sItemType"></div>
                              <select class="select-margin input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="sItemType"
                                [(ngModel)]="listData[index].sItemType" (ngModelChange)="inputChange(index,listData[index].sItemType,'sItemType','RISK_RECORD_TYPE')">
                                <option [value]="''" selected="selected">--请选择--</option>
                                <option [value]="it.sItemKey" *ngFor="let it of dictionaryList.RISK_RECORD_TYPE">{{it.sItemValue}}</option>
                              </select>
                            </div>
                          </td>
                          <td [attr.title]="listData[index].sFileSourceZh">
                            <div class="cell">
                              <div id="sFileSource"></div>
                              <select class="select-margin input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="sFileSource"
                                [(ngModel)]="listData[index].sFileSource" (ngModelChange)="inputChange(index,listData[index].sFileSource,'sFileSource','NX_SOURCE')">
                                <option [value]="''" selected="selected">--请选择--</option>
                                <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.NX_SOURCE">{{item.sItemValue}}</option>
                              </select>
                            </div>
                          </td>
                          <td [attr.title]="listData[index].sFundType">
                            <div class="cell">
                              <div id="sFundType"></div>
                              <!-- <select style="width:100px !important;" name="sFundType" class="select-margin input-width font-color"
                                    (ngModelChange)="inputChange(index,listData[index].sFundType,'sFundType')" [(ngModel)]="listData[index].sFundType"
                                    id="NQDIIRouteSelect{{index}}" multiple></select> -->
                              <p-multiSelect [options]="dictionaryInfo" defaultLabel="请选择" [(ngModel)]="listData[index].sFundType" [maxSelectedLabels]="9999"
                                [ngModelOptions]="{standalone: true}"></p-multiSelect>

                            </div>
                          </td>
                          <td [attr.title]="listData[index].sFundGroupdsZh">
                            <div class="input-group right_tooltip cell">
                              <!-- <div id="sFundGroupds"></div> -->
                              <input class="input-width font-color" name="sFundGroupdsZh" [(ngModel)]="listData[index].sFundGroupdsZh" disabled (ngModelChange)="inputChange(index,listData[index].sFundGroupdsZh,'sFundGroupdsZh')">
                              <div class="input-group-addon" (click)="showApplyFundGroup(index)" *ngIf="item.sOprState == '1'&&item.sFlowStep != '4'">
                                <i class="fa fa-search"></i>
                              </div>
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f1">
                            <div class="cell">
                              <div id="f1"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="f1" maxlength="2000"
                                [(ngModel)]="listData[index].f1" (ngModelChange)="inputChange(index,listData[index].f1,'f1')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f2">
                            <div class="cell">
                              <div id="f2"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="f2" maxlength="2000"
                                [(ngModel)]="listData[index].f2" (ngModelChange)="inputChange(index,listData[index].f2,'f2')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f3">
                            <div class="cell">
                              <div id="f3"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="f3" maxlength="2000"
                                [(ngModel)]="listData[index].f3" (ngModelChange)="inputChange(index,listData[index].f3,'f3')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f4Zh">
                            <div class="cell">
                              <div id="f4"></div>
                              <select class="input-width select-margin font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" [(ngModel)]="listData[index].f4"
                                name="f4" (ngModelChange)="inputChange(index,listData[index].f4,'f4','RISK_CTRL_METHOD')">
                                <option [value]="''" selected="selected">--请选择--</option>
                                <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.RISK_CTRL_METHOD">{{item.sItemValue}}</option>
                              </select>
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f5">
                            <div class="cell">
                              <div id="f5"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f5"
                                name="f5" (ngModelChange)="inputChange(index,listData[index].f5,'f5')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f6Zh">
                            <div class="cell">
                              <div id="f6"></div>
                              <select class="input-width select-margin font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" [(ngModel)]="listData[index].f6"
                                name="f6" (ngModelChange)="inputChange(index,listData[index].f6,'f6','RISK_HS_CONTROL')">
                                <option [value]="''" selected="selected">--请选择--</option>
                                <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.RISK_HS_CONTROL">{{item.sItemValue}}</option>
                              </select>
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f7">
                            <div class="cell">
                              <div id="f7"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f7"
                                name="f7" (ngModelChange)="inputChange(index,listData[index].f7,'f7')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f8">
                            <div class="cell">
                              <div id="f8"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f8"
                                name="f8" (ngModelChange)="inputChange(index,listData[index].f8,'f8')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f9Zh">
                            <div class="cell">
                              <div id="f9"></div>
                              <select class="input-width select-margin font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" [(ngModel)]="listData[index].f9"
                                name="f9" (ngModelChange)="inputChange(index,listData[index].f9,'f9','RISK_CONTROL_AFTER')">
                                <option [value]="''" selected="selected">--请选择--</option>
                                <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.RISK_CONTROL_AFTER">{{item.sItemValue}}</option>
                              </select>
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f10">
                            <div class="cell">
                              <div id="f10"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f10"
                                name="f10" (ngModelChange)="inputChange(index,listData[index].f10,'f10')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f11">
                            <div class="cell">
                              <div id="f11"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f11"
                                name="f11" (ngModelChange)="inputChange(index,listData[index].f11,'f11')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f12">
                            <div class="cell">
                              <div id="f12"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f12"
                                name="f12" (ngModelChange)="inputChange(index,listData[index].f12,'f12')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f13Zh">
                            <div class="cell">
                              <div id="f13"></div>
                              <select class="input-width select-margin font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" [(ngModel)]="listData[index].f13"
                                name="f13" (ngModelChange)="inputChange(index,listData[index].f13,'f13','MONITOR_REMARK')">
                                <option [value]="''" selected="selected">--请选择--</option>
                                <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.MONITOR_REMARK">{{item.sItemValue}}</option>
                              </select>
                            </div>
                          </td>
                          <!-- <td [attr.title]="listData[index].f14">
                            <div class="cell">
                              <div id="f14"></div>
                              <input class="input-width" maxlength="2000" [(ngModel)]="listData[index].f14" name="f14" (ngModelChange)="inputChange(index,listData[index].f14,'f14')">
                            </div>
                          </td> -->
                          <td [attr.title]="listData[index].f15">
                            <div class="cell">
                              <div id="f15"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f15"
                                name="f15" (ngModelChange)="inputChange(index,listData[index].f15,'f15')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f16">
                            <div class="cell" style="width:192px;">
                              <div id="f16"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f16"
                                name="f16" (ngModelChange)="inputChange(index,listData[index].f16,'f16')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f17">
                            <div class="cell" style="width:135px;">
                              <div id="f17"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" maxlength="2000" [(ngModel)]="listData[index].f17"
                                name="f17" (ngModelChange)="inputChange(index,listData[index].f17,'f17')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f18Zh">
                            <div class="cell">
                              <div id="f18"></div>
                              <select class="input-width select-margin font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" [(ngModel)]="listData[index].f18"
                                name="f18" (ngModelChange)="inputChange(index,listData[index].f18,'f18','RISK_CW_CTRL')">
                                <option [value]="''" selected="selected">--请选择--</option>
                                <option [value]="item.sItemKey" *ngFor="let item of dictionaryList.RISK_CW_CTRL">{{item.sItemValue}}</option>
                              </select>
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f19">
                            <div class="cell">
                              <div id="f19"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="f19" maxlength="2000"
                                [(ngModel)]="listData[index].f19" (ngModelChange)="inputChange(index,listData[index].f19,'f19')">
                            </div>
                          </td>
                          <td [attr.title]="listData[index].f20">
                            <div class="cell">
                              <div id="f20"></div>
                              <input class="input-width font-color" [disabled]="item.sOprState != '1'||item.sFlowStep == '4'" name="f20" maxlength="2000"
                                [(ngModel)]="listData[index].f20" (ngModelChange)="inputChange(index,listData[index].f20,'f20')">
                            </div>
                          </td>
                          <!-- <td>
                            <div>
                              {{item.sOpr}}
                            </div>
                          </td>
                          <td>
                            <div>
                              {{item.dOprDate}}
                            </div>
                          </td>
                          <td>
                            <div>
                              {{item.sOprState}}
                            </div>
                          </td>
                          <td>
                            <div>
                              {{item.dOprDate}}
                            </div>
                          </td> -->
                        </tr>
                      </tbody>
                    </table>
                  </div>
                </div>
              </div>
            </div>
            <!-- /.box-body -->
          </div>
          <!-- /.box -->
        </div>
        <!-- ./col -->
      </div>
    </div>

    <div class="modal-footer">
      <button type="button" (click)="hideModal()" class="btn btn-default pull-left">关闭</button>
      <button type="button" (click)="showModal('2')" *ngIf="viewDetailType == '2'&&_.includes(menuResourceSet,'btn-NQDII-pcms-detail-save')"
        class="btn btn-primary pull-right">复核通过</button>
      <button type="button" (click)="showModal('3')" *ngIf="viewDetailType == '2'&&_.includes(menuResourceSet,'btn-NQDII-pcms-detail-recall')"
        class="btn btn-primary pull-right">返回</button>
      <button type="button" *ngIf="viewDetailType == '1'&&_.includes(menuResourceSet,'btn-NQDII-pcms-detail-recall')" class="btn btn-primary pull-right"
        (click)="recall()">撤销</button>
      <button type="button" *ngIf="viewDetailType == '1'&&_.includes(menuResourceSet,'btn-NQDII-pcms-detail-save')" class="btn btn-primary pull-right"
        (click)="save()">保存</button>
      <button type="button" *ngIf="viewDetailType == '1'&&_.includes(menuResourceSet,'btn-NQDII-ztpc-detail-recall')" class="btn btn-primary pull-right"
        (click)="recall()">撤销</button>
      <button type="button" *ngIf="viewDetailType == '1'&&_.includes(menuResourceSet,'btn-NQDII-ztpc-detail-save')" class="btn btn-primary pull-right"
        (click)="save()">保存</button>
      <!-- <button type="button" class="btn btn-primary" (click)="saveEntry()"> 
            <i class="fa fa-save"></i>保存</button> -->
    </div>
  </div>
</div>



<!-- 复核通过modal -->
<div class="modal modal-detail" id="modal5">
  <div #review></div>
</div>
<!-- 复核通过modal end -->



<!-- 返回modal -->
<div class="modal modal-detail" id="modal6">
  <div #back></div>
</div>
<!-- 返回modal end -->

<!-- 撤销modal -->
<div class="modal modal-detail" id="viewDetailRevokeModal">
  <div #viewDetailRevokeModal></div>
</div>

<!-- 适用基金组modal -->
<div class="modal modal-detail" id="viewApplyFundGroup">
  <div #viewApplyFundGroup></div>
</div>